package first1.com.zut.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;

//import org.springframework.stereotype.Controller;

import first1.com.zut.service.UserService;
@Controller(value = "userController333")
public class UserController {
	@Resource(name = "UserService222")
	private UserService userService;
//	public UserController(UserService userService) {
//		this.userService = userService;
//	}
//
	public void updateUser() {
		userService.updateUser();
	}

	public void deleteUser() {
		userService.deleteUser();
	}

}
